﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/DD/20100524/DC", TypeName = "Bounds")]
[XmlRoot(Namespace = "http://www.omg.org/spec/DD/20100524/DC", IsNullable = false)]
public partial class Bounds
{
    /// <remarks/>
    [XmlAttribute("x")]
    public double X { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("y")]
    public double Y { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("width")]
    public double Width { get; set; } = default!;

    /// <remarks/>
    [XmlAttribute("height")]
    public double Height { get; set; } = default!;
}
